<template>
  <h1>这里是翟昌树父类标签</h1>
  <h2>-----------------------------</h2>
  <div class="parent">
    <child :msg="messg" @sendMessage-end="handleMessageEnd"></child>
  </div>
</template>

<script setup>
import child from './child.vue'
const messg = '我是父组件的属性'

function handleMessageEnd(m) {
  console.log(m)
}

</script>
